package cn.zjyj.module.zjyj.controller.admin.riskidentifytargetcontent.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 风险辨识内容新增/修改 Request VO")
@Data
public class RiskIdentifyTargetContentSaveReqVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "11372")
    private Long id;

    @Schema(description = "风险点id", requiredMode = Schema.RequiredMode.REQUIRED, example = "10036")
    @NotNull(message = "风险点id不能为空")
    private Long riskTypeInfoId;

    @Schema(description = "风险辨识id", requiredMode = Schema.RequiredMode.REQUIRED, example = "6833")
    @NotNull(message = "风险辨识id不能为空")
    private Long identifyId;

    @Schema(description = "风险辨识实例id", requiredMode = Schema.RequiredMode.REQUIRED, example = "2092")
    @NotNull(message = "风险辨识实例id不能为空")
    private Long identifyInstanceId;

    @Schema(description = "对象id", requiredMode = Schema.RequiredMode.REQUIRED, example = "17574")
    @NotNull(message = "对象id不能为空")
    private Long riskTargetId;

    @Schema(description = "辨识内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "辨识内容不能为空")
    private String identifyContent;

    @Schema(description = "辨识内容编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "辨识内容编码不能为空")
    private String identifyContentCode;

    @Schema(description = "危害", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "危害不能为空")
    private String hazard;

    @Schema(description = "工程解决方案", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "工程解决方案不能为空")
    private String projectSolution;

    @Schema(description = "管理解决方案", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "管理解决方案不能为空")
    private String managerSolution;

    @Schema(description = "个人解决方案", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "个人解决方案不能为空")
    private String selfSolution;

    @Schema(description = "培训教育解决方案", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "培训教育解决方案不能为空")
    private String trainEduSolution;

    @Schema(description = "应急解决方案", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "应急解决方案不能为空")
    private String badSolution;

}